package com.byzx.wine.dao;

import java.util.List;

import com.byzx.wine.po.Syauthority;
import com.byzx.wine.po.Syroleauthority;

public interface SyauthorityDao {
	public List<Syauthority> SelectAll();

	List<Syroleauthority> selectRole(Integer roleid);

	int deleteRoot(Integer roleid);

	// 通过用户名查询，用户的权限
	public List<Syauthority> findUserSyauthority(String name);
}
